package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.model.WalletPay;
import com.jbp.utils.PageUtils;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 充值(WalletPay)表服务接口
 * @author cc
 * @since 2020-07-02 11:45:11
 */
public interface WalletPayService extends IService<WalletPay> {
    PageUtils queryPage(Map<String, Object> params);

    Map<String, Object> createOrder(WalletPay walletPay);

    void aliNotify(Map<String, Object> params);

    BigDecimal getPayToday(Integer userId);

    void wechatNotify(Map<String, Object> heads, String body, Integer configId);

    boolean applePayResult(String body, Integer userId);
}